#include "stock10.h"

int main(int argc, char const *argv[])
{
    Stock s1("stock01", 12, 20.0);
    s1.show();

    Stock s2 = {"stock02", 200000, 2.0};
    s2.show();







    s2 = s1;
    s1.show();
    s2.show();

    s1 = Stock("stock03", 10, 50.0);
    s1.show();

    Stock s0("stock04", 100, 700.0);


    Stock res = s1.topval(s0);
    res.show();
    return 0;
}
